﻿package kaze.controllers.models.menu 
{
    import ninjas.ninpo.vo.MenuVO;
    
    import vegas.controllers.AbstractController;
    import vegas.events.ModelObjectEvent;
    
    import flash.events.Event;
    /**
     * Invoked when a MenuVO is inserted in the menu model.
     */
    public class AddMenu extends AbstractController 
    {
        /**
         * Creates a new AddMenu instance.
         */
        public function AddMenu()
        {
            super();
        }
        
        /**
         * Handles the event.
         */
        public override function handleEvent(e : Event):void
        {
            var vo:MenuVO = (e as ModelObjectEvent).getVO() as MenuVO ;
            logger.debug( this + " handleEvent : " + vo ) ;
        }
    }
}
